package top.starshine.pack;

public class StrUtils {

    public static String append (Object... args) {
        if (args.length == 0) {
            return "";
        }
        // 获取缓存
        StringBuilder sb = JsonSerializableSupport.borrow();
        try {
            for (Object arg : args) {
                sb.append(arg);
            }
            return sb.toString();
        } finally {
            JsonSerializableSupport.retrieve(sb);
        }
    }

}
